<%@ page import="fzzl.guide.Department" %>



<div class="fieldcontain ${hasErrors(bean: departmentInstance, field: 'departmentName', 'error')} ">
	<label for="departmentName">
		<g:message code="department.departmentName.label" default="Department Name" />
		
	</label>
	<g:textField name="departmentName" value="${departmentInstance?.departmentName}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: departmentInstance, field: 'departmentCode', 'error')} ">
	<label for="departmentCode">
		<g:message code="department.departmentCode.label" default="Department Code" />
		
	</label>
	<g:textField name="departmentCode" value="${departmentInstance?.departmentCode}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: departmentInstance, field: 'row_number', 'error')} required">
	<label for="row_number">
		<g:message code="department.row_number.label" default="Rownumber" />
		<span class="required-indicator">*</span>
	</label>
	<g:field name="row_number" type="number" value="${departmentInstance.row_number}" required=""/>
</div>

